package com.yjf.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Administrator 岳剑飞
 * @date
 * @description:
 */
@RestController
@RequestMapping("/sentinel")
public class SentinelTest {

    /**
     *  /sentinel/test/yuejianfei
     * @param username
     * @return
     */
    @RequestMapping("/test/{username}")
    public String test1(@PathVariable String username) {
        System.out.println("=======>" + username);

        return "直呼内行===>" + username;
    }

}
